package com.welse.modulebiz.domain.dto;

import jakarta.validation.constraints.Email;
import jakarta.validation.constraints.NotEmpty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class EmailLoginDto {

    @Email(message = "邮箱格式错误")
    @NotEmpty(message = "用户邮箱不能为空")
    private String email;
    @NotEmpty(message = "验证码不能为空")
    private String emailCode;
}
